package mediator.example;

import mediator.source.Colleague;

/**
 * @author cheng:
 * @date 2019/4/25 8:53
 */
public abstract class Country {

    protected UnitedNations mediator;


    public Country(UnitedNations mediator) {
        this.mediator = mediator;
    }

    public void declare(String message, Country colleague){
        mediator.declare(message, colleague);
    }

    public abstract void getMsg(String message);
}
